package com.spzx.product.service;

import com.spzx.product.domain.ProductSpec;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商品规格 服务类
 * </p>
 *
 * @author lee
 * @since 2024-07-15
 */
public interface IProductSpecService extends IService<ProductSpec> {


    List<ProductSpec> selectProductSpecList(ProductSpec productSpec);

    ProductSpec getProductSpecDetail(Long id);

    /**
     * 根据分类id查询闪屏规格列表
     * @param id 商品分类id
     * @return
     */
    List<ProductSpec> getProductSpecList(Long id);
}
